home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 7_10.lha / 7_10 / po_print.c < prev    next >
Text File  |  1993-08-08  |  398b  |  20 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. include <process.h>
  6. include <debug.h>
  7. stream &operator<<(ostream &out, process_object *po)
  8.  
  9.    return po->print(out);
  10.  
  11.  
  12. stream &process_object::print(ostream &out)
  13.  
  14.    out << "[";
  15.    if (debug > 1)
  16. out << form("%#x", this);
  17.    out << "]";
  18.    return out;
  19.  
  20.